<?php $type = $this->type ;?>
<?php if(is_array($this->params)) {$params=$this->params+array('data' => $this->data);} else {$params=array('data' => $this->data);}?>
<?php echo $this->partial('index/partial/' . $type . '.phtml', 'report',$params) ;?>